Quickbook API icon

Quickbook API

(0 reviews)

Cancelling a booking

POST /booking/cancel

Description

Cancel an existing booking.

Authorization

The Authorization header carried the API access token in the format AL client_id:client_secret . Please see 'Authorization' for more information.

Content Type

application/json

JSON Parameters

{
    "job_uuid" : "36b5ffa8-61f0-11e5-9d70-feff819cdc9f"
}
ParametersDescriptionRequired?
job_uuidThe UUID of the job to be cancelledYes

Response

{
    "job_uuid": "36b5ffa8-61f0-11e5-9d70-feff819cdc9f",
    "job_number": "123456",
    "cancelled" : true
    "total" :  0.00
    "tax" : 0.00
}
ParametersDescription
job_uuidUnique system identified for the booking
job_numberUser reference for the booking. Needs to be used in conjunction with the booking date
cancelledStatus of the cancellation (True / False)
totalCancellation charge for Cancellation on Arrival [1]
taxTax for the cancellation charge

[1] If the job is cancelled more than five minutes after it is allocated to a driver, it will be marked as COA and a charge will be applied.


Reviews